import Component from "../component";

class Label extends Component {
  value = {
    list: []
  }

  query() {
    if (!this.value.list.length) return undefined;
    const list = this.value.list.map((_: any) => {
      // return
      return {
        ..._,
        type: 'LABEL_TYPE_COMMON'
      }
    });
    return {
      list
    }
  }

}

export default Label;
